package com.yami.shop.mystery.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.mystery.common.dto.UserInviteDto;
import com.yami.shop.mystery.common.model.UserInvite;

import java.util.List;
import java.util.Map;

public interface UserInviteService extends IService<UserInvite> {

    // 获取拉新前十名
    List<Map<String,Object>> getTops(Long activity);

    // 获取符合拉新规则的人
    List<UserInviteDto> selectConformToRules(Long activityId, String ruleType, Long conditionNum, Long isReal);
}
